package com.wpen.unit.infra.mybatis.system.po;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.sql.Timestamp;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

/**
 * FunctionsPo.
 * 
 * @author Wang Peng(Auto Generator)
 * @date 2023-03-19
 * @version V5.0
 */
@Setter
@Getter
@ToString
@TableName("SYS_FUNCTIONS")
public class FunctionsPo implements Cloneable, Serializable {
    private static final long serialVersionUID = -161123581321345589L;
    /* 主键 [19,0] Not NULL */
    @TableId
    private Long id;
    /* 功能编码 [32,0] Not NULL */
    private String fnId;
    /* 功能名称 [64,0] Not NULL */
    private String fnName;
    /* 功能描述 [256,0] */
    private String fnDesc;
    /* 启用状态 [1,0] Not NULL */
    private String status;
    /* 操作码 [256,0] Not NULL */
    private String operCodes;
    /* 版本号 [10,0] Not NULL */
    private Integer version;
    /* 时间戳 [19,0] Not NULL */
    private Timestamp updateTime;

    public FunctionsPo() {
        super();
    }

    /** 浅克隆 */
    @Override
    public FunctionsPo clone() {
        FunctionsPo cloneFunctionsPo = null;
        try {
            cloneFunctionsPo = (FunctionsPo) super.clone();
        } catch (CloneNotSupportedException e) {
            throw new RuntimeException(e);
        }
        return cloneFunctionsPo;
    }

    /**
     * FunctionsColumns.
     * 
     * @author Wang Peng(Auto Generator)
     * @date 2023-03-19
     * @version V5.0
     */
    public enum FunctionsColumns {
        /** 主键**/
        ID,
        /** 功能编码**/
        FN_ID,
        /** 功能名称**/
        FN_NAME,
        /** 功能描述**/
        FN_DESC,
        /** 启用状态**/
        STATUS,
        /** 操作码**/
        OPER_CODES,
        /** 版本号**/
        VERSION,
        /** 时间戳**/
        UPDATE_TIME;
    }
}